package cn.tianya.irock.enums;

public enum ApplicationExceptionType {

	AccessDeny(100),
	UserNotFound(101),
	SectionNotFound(102),
	PermissionApplicationUnknown(103),
	RoleNotFound(104),
	UserInvalidCredentials(105),
	UserAccountPending(106),
	UserAccountBanned(107),
	UserAccountDisapproved(108),
	UserUnknownLoginError(109),
	OAuthConsumerNotFound(110),
	FlashVersioToLow(111),
	LoginSuccess(112),
	LogoutSuccess(113),
	
	DuplicateUser(115),
	SiteSettingsNotFound(116),
	ResourceParseError(117),
	PostNotFound(118),
	ThreadNotFound(119),
	TemplateNotFound(120),
	SiteNotFound(121),
	PageNotFound(122),
	PermissionNotFound(123),
	PostDuplicate(124),
	VoteSuccess(125),
	CustomError(198),
	UnknowError(199);
	
	private int value;
	ApplicationExceptionType(int value) {
		this.value = value;
	}
	
	public int getValue() {
		return value;
	}
}
